//============================================================================
// Name        : cpp_iconv.cpp
// Author      : darkflash
// Version     :
// Copyright   : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================

#include "IconvWrapper/IconvWrapper.h"
using namespace std;

int main() {
	string in;

	cout << "input: ";
	cin >> in;

	IconvWrapper iconv;

	string strEuc;
	strEuc = iconv.from_to(in, "CP949", "euc-kr");

	string utf8 = iconv.from_to(in, "CP949", "UTF-8");

	cout << "euckr: " << strEuc << endl;
	cout << "utf8: " << utf8 << endl;

	return 0;
}
